package ca.venasse.pinventory.inventory.event;

import org.axonframework.domain.DomainEvent;

import ca.venasse.pinventory.inventory.common.LocationIdentifier;
import ca.venasse.pinventory.inventory.common.LocationName;

public class LocationCreated extends DomainEvent {

	private static final long serialVersionUID = 1L;

	private final LocationIdentifier locationIdentifier;
	private final LocationName name;

	public LocationCreated(LocationIdentifier locationIdentifier, LocationName name) {
		this.locationIdentifier = locationIdentifier;
		this.name = name;
	}

	public LocationIdentifier getLocationIdentifier() {
		return this.locationIdentifier;
	}

	public LocationName getName() {
		return this.name;
	}

}
